package com.zzu.base.exception;

import com.zzu.base.common.enums.ResultStatusEnum;
import lombok.Getter;
@Getter
public class ProcessException extends RuntimeException {
    private ResultStatusEnum status;
    private Object data;
    public ProcessException(ResultStatusEnum status, Object data) {
        super(status.getMessage());
        this.status = status;
        this.data = data;
    }
}
